package com.ruoyi.jinchuguanli.domain;

import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * ruku对象 gouhuoruku
 *
 * @author ruoyi
 * @date 2023-11-08
 */
public class GouhuorukuReturn extends Gouhuoruku {
    private static final long serialVersionUID = 1L;

    @ExcelCollection(name = "商品")
    private List<Shangpin> shangpin;

    public List<Shangpin> getShangpin () {
        return shangpin;
    }

    public void setShangpin (List<Shangpin> shangpin) {
        this.shangpin = shangpin;
    }

    @Override
    public String toString () {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("xiadanriqi", getXiadanriqi())
                .append("rukuriqi", getRukuriqi())
                .append("xiadanren", getXiadanren())
                .append("rukuren", getRukuren())
                .append("shangpinbianhao", getShangpinbianhao())
                .append("shangpinshuliang", getShangpinshuliang())
                .append("zongjine", getZongjine())
                .append("beizhu", getBeizhu())
                .toString();
    }
}
